﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.ModelManager.Camera
{
    public class CameraModel
    {
        /// <summary>
        /// 本地图片及相机设置
        /// </summary>
        public string ImageDirectoryPath { get; set; } = "D:";

        public int GradeMode { get; set; } = 1;

        public float Exposure { get; set; } = 5;  //s

        public float Gain { get; set; } = 0;

        public int RedGain { get; set; } = 2000;

        public int GreenGain { get; set; } = 1400;

        public int BlueGain { get; set; } = 2700;

        public int Luminance { get; set; } = 300;

        public float TriggerDelay { get; set; } = 20;  //ms

        public int AutoPhotoInterval { get; set; } = 500;  //连续拍摄间隔

        public int ROI_X { get; set; } = 0;

        public int ROI_Y { get; set; } = 0;

        public int Width { get; set; } = 2384;

        public int Height { get; set; } = 1560;

        /// <summary>
        /// 输出延时时间 
        /// </summary>
        public int OutDelay { get; set; } = 0;


        public CameraModel Clone()
        {
            return this.MemberwiseClone() as CameraModel;
        }
    }
}
